﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace IKE.LCAFormat.ILCD.Common
{
    public class StringMultiLang : AutoSerializeBase
    {
        [XmlAttribute]
        [Xmlns("xml")]
        [DisplayUI(1)]
        public string lang = "en";

        [DisplayUI(2)]
        [XmlText]
        public string Value;
    }

    /// <summary>
    /// Multi-lang short text with a maximum lenght of 1000 characters.
    /// </summary>
    public class STMultiLangAttribute : Attribute
    {
    }

    /// <summary>
    /// Multi-lang free text with an unlimited length.
    /// </summary>
    public class FTMultiLangAttribute : Attribute
    {
    }
}
